package com.serviceprovider.business.module.order.model;

//~--- non-JDK imports --------------------------------------------------------

import com.serviceprovider.business.module.order.valueobjects.OrderFilterConditionVO;

public class OrderFilterCondition {
    private String              conditionValue = "";
    private ConditionType       conditionType;
    private OrderConditionField orderConditionField;

    public OrderFilterCondition() {}

    public OrderFilterCondition(OrderFilterConditionVO orderFilterCondition) {
        this.conditionType       = orderFilterCondition.getConditionType();
        this.orderConditionField = orderFilterCondition.getOrderConditionField();
        this.conditionValue      = orderFilterCondition.getConditionValue();
    }

    public OrderConditionField getOrderConditionField() {
        return orderConditionField;
    }

    public void setOrderConditionField(OrderConditionField orderConditionField) {
        this.orderConditionField = orderConditionField;
    }

    public ConditionType getConditionType() {
        return conditionType;
    }

    public void setConditionType(ConditionType conditionType) {
        this.conditionType = conditionType;
    }

    public String getConditionValue() {
        return conditionValue;
    }

    public void setConditionValue(String conditionValue) {
        this.conditionValue = conditionValue;
    }
}



